﻿using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using ProjectScheduling_web.dao;

namespace ProjectScheduling_web.Controllers.Staff
{
    public class StaffController : BController
    {
        [HttpGet]
        [AllowAnonymous]
        public ActionResult StaffList()
        {
            return Success(StaffDao.Base.FindAll(it => true));
        }
    }
}
